name: signal
description: trace signal
tracers:
  signal:
    mapName: events
    structName: event
structs:
  event:
    fields:
    - name: timestamp
      attributes:
        template: timestamp
    - name: pid
      attributes:
        template: pid
    - name: tpid
      attributes:
        template: pid
    - name: comm
      attributes:
        template: comm
    - name: uid
      attributes:
        template: uid
    - name: gid
      attributes:
        template: uid
    - name: ret
      attributes:
        width: 5
    - name: sig
      attributes:
        width: 5
    - name: mntns_id
      description: 'Mount namespace inode id'
      attributes:
        template: ns
ebpfParams:
  filtered_pid:
    key: pid
    defaultValue: ""
    description: Show only events generated by processes with this pid
  target_signal:
    key: signal
    defaultValue: ""
    description: Show only events generated by this signal
  failed_only:
    key: failed
    defaultValue: "false"
    description: Show only failed events
  kill_only:
    key: kill-only
    alias: k
    defaultValue: "false"
    description: Show only events generated by kill family syscalls
